package com.thesaurus.resource;

import javax.jws.WebMethod;
import javax.jws.WebService;

import com.thesaurus.db.DBMock;
import com.thesaurus.domain.Info;
import com.thesaurus.domain.Kenteken;

@WebService
public class ThesaurusWS {
	@WebMethod
	public Info GetInfo(Kenteken kenteken) {
		DBMock db = new DBMock();
		
		return db.findByKenteken(kenteken.getKenteken());
	}
}
